package org.govhack.okcapital.model;

import java.io.Serializable;

/**
 * POJO - Represents a dataset or collection of data describing some part of the
 * Mazlow hierarchy
 * 
 * @author Josh Vote
 * 
 */
public class Dataset implements Serializable {
    /** GUID describing this dataset */
    private String datasetId;
    /** Descriptive short name */
    private String name;
    /** Long description of this dataset */
    private String description;
    /**
     * Integer from 1-5 indicating the location on the mazlow hierarchy (1 being
     * low on pyramid, 5 being high)
     */
    private int mazlowRank;

    /**
     * 
     * @param datasetId
     *            GUID describing this dataset
     * @param name
     *            Descriptive short name
     * @param description
     *            Long description of this dataset
     * @param mazlowRank
     *            Integer from 1-5 indicating the location on the mazlow
     *            hierarchy (1 being low on pyramid, 5 being high)
     */
    public Dataset(String datasetId, String name, String description,
            int mazlowRank) {
        super();
        this.datasetId = datasetId;
        this.name = name;
        this.description = description;
        this.mazlowRank = mazlowRank;
    }

    /**
     * GUID describing this dataset
     */
    public String getDatasetId() {
        return datasetId;
    }

    /**
     * GUID describing this dataset
     */
    public void setDatasetId(String datasetId) {
        this.datasetId = datasetId;
    }

    /**
     * Descriptive short name
     * 
     * @return
     */
    public String getName() {
        return name;
    }

    /**
     * Descriptive short name
     * 
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * Long description of this dataset
     * 
     * @return
     */
    public String getDescription() {
        return description;
    }

    /**
     * Long description of this dataset
     * 
     * @param description
     */
    public void setDescription(String description) {
        this.description = description;
    }

    /**
     * Integer from 1-5 indicating the location on the mazlow hierarchy (1 being
     * low on pyramid, 5 being high)
     * 
     * @return
     */
    public int getMazlowRank() {
        return mazlowRank;
    }

    /**
     * Integer from 1-5 indicating the location on the mazlow hierarchy (1 being
     * low on pyramid, 5 being high)
     * 
     * @param mazlowRank
     */
    public void setMazlowRank(int mazlowRank) {
        this.mazlowRank = mazlowRank;
    }

}
